4D Chart v13

CT Draw text

Home

 
4D Chart v13
CT Draw text

CT Draw text 


 

CT Draw text ( area ; left ; top ; right ; bottom ; text ) -> Function result 
Parameter Type   Description
area  Longint in 4D Chart area
left  Real in Horizontal position of start (in points)
top  Real in Vertical position of start (in points)
right  Real in Horizontal position of end (in points)
bottom  Real in Vertical position of end (in points)
text  Text in Text of new text object
Function result  Longint in The new object's Object ID

CT Draw text creates a new text object in area and returns the new object’s Object ID. The object is positioned according to the left, top, right and bottom coordinates.

Example  

The following method draws the text “Hello World” in the top left corner of the chart area.

 $Text:=CT Draw text(Area;0;0;300;10;"Hello World")

 
PROPERTIES 

Product: 4D Chart
Theme: CT Objects
Number: 14557

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D Chart 1